
import request from '../request'

export const miniCodeLogin = params => request.globalRequest(`/api/v2/client/miniapp/miniCodeLogin`, 'GET', params)

export const findByTerminalNo = params => request.globalRequest(`/api/v2/client/miniapp/findByTerminalNo`, 'GET', params)

export const getOrderInfo = params => request.globalRequest(`/api/v2/client/wap/getOrderNo`, 'GET', params)

export const getPayInfo = params => request.globalRequest(`/api/v2/client/wap/getOrderPay`, 'GET', params)

export const findOrderByTerminalNo  = params => request.globalRequest(`/api/v2/client/miniapp/findOrderByTerminalNo`, 'GET', params)

export const getTerminalStatusByOrderNo = params => request.globalRequest(`/api/v2/client/wap/getTerminalStatusByOrderNo`, 'GET', params)
